//*************************************************************************
//  PP9_3.java   Author: Tang Caiming
//
//  测试Textbooks、Magazines、Novels类
//*************************************************************************
public class PP9_3
{
    public static void main(String[] args)
    {
        Magazines m = new Magazines(480,"十月","陈东捷",
                "北京出版集团公司","2018-03-21",1);
        Novels n = new Novels(143,"三国演义","罗贯中",
                "晨光出版社","2014-07-01","章回体长篇小说");
        Textbooks t = new Textbooks(150,"高中语文必修1",
                "人民教育出版社","人民教育出版社",
                "2013-06","语文");

        System.out.println(m.toString());
        System.out.println();
        System.out.println(n.toString());
        System.out.println();
        System.out.println(t.toString());
    }
}
